package com.renjibo.childred.modle;

import java.util.List;

/**
 * 任继波
 * Created by Administrator on 2017/2/24.
 */

public class RecomBrandsBean {

    /**
     * response : brand
     * brand : [{"key":"孕妈专区","value":[{"id":1000,"name":"奶粉","pic":"images/0.png"},{"id":1001,"name":"奶粉","pic":"images/1.png"},{"id":1002,"name":"奶粉","pic":"images/2.png"}]},{"key":"营养食品","value":[{"id":1000,"name":"面粉","pic":"images/0.png"},{"id":1001,"name":"面粉","pic":"images/1.png"},{"id":1002,"name":"面粉","pic":"images/2.png"}]}]
     */

    private String response;
    private List<BrandBean> brand;

    @Override
    public String toString() {
        return "RecomBrandsBean{" +
                "response='" + response + '\'' +
                ", brand=" + brand +
                '}';
    }

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public List<BrandBean> getBrand() {
        return brand;
    }

    public void setBrand(List<BrandBean> brand) {
        this.brand = brand;
    }

    public static class BrandBean {
        /**
         * key : 孕妈专区
         * value : [{"id":1000,"name":"奶粉","pic":"images/0.png"},{"id":1001,"name":"奶粉","pic":"images/1.png"},{"id":1002,"name":"奶粉","pic":"images/2.png"}]
         */

        private String key;
        private List<ValueBean> value;

        @Override
        public String toString() {
            return "BrandBean{" +
                    "key='" + key + '\'' +
                    ", value=" + value +
                    '}';
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public List<ValueBean> getValue() {
            return value;
        }

        public void setValue(List<ValueBean> value) {
            this.value = value;
        }

        public static class ValueBean {
            /**
             * id : 1000
             * name : 奶粉
             * pic : images/0.png
             */

            private int id;
            private String name;
            private String pic;

            @Override
            public String toString() {
                return "ValueBean{" +
                        "id=" + id +
                        ", name='" + name + '\'' +
                        ", pic='" + pic + '\'' +
                        '}';
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }
        }
    }
}

